-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] estate: add the real estate module #206
Draft
dhna-odoo
wants to merge
16
commits into
odoo:18.0
Choose a base branch
from
odoo-dev:18.0-training-dhna
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Learned about how to make our Application and model and all things around that basic and complex fields, things related to security fields, how to make UI changes, how to create relationships between models and fields, and things related to computed fields and onchange methods.
Added changes for UI for validation around if someone offers less price than previous offer and some UI fields should be visible on some conditions that changes are added and also added color fields to tags to differentiate added state button to directly go to all offers related to that property type for ease of use added SQL constraints and Python-level constraints to check for validations of the code and for all these changes added related to code to views.
Added code for new res. user model and added code for the account model to create an invoice when any estate property is sold. I added code for the Kanban view for easy movement properties. In the invoice, I added a code for the commission fee and some extra charges for the selling price.
Added new model for demo data and added XML file for that views Added 3 properties and added 3 offers in property for demonstration.,
I added code for property-related PDF files. All values are in the action section for easy download. I also added predefined demo data for easy to understand
Changed offer code in sub-template to better reusability of code and also Added new report for use-wise property allocated to them and inherited account module to make sure the invoice is created or not in the report. added security rules and defined groups related to all models and made sure Users have the right access to do CRUD on that. I also added record rules to define security on specific records and learned about how to bypass the security
for creating offers on multiple properties created a wizard module and template we can select all the properties we have to create the offer and click on the action button makes an offer to create an offer on all the properties.
I added a real estate properties view in the user view for easy access to how many properties are assigned to this user. I have inherited the base view form and changed the view.
added code for the warranty model and inherited the model like the sale.order, product, and added views for that. added code for Wizard warranty and defined its view.
Added code for wizard view and added code for warranty lines to and done code for all reference models and connected that model to sale.line model.
The fixed code is the warranty button that is connected to the product.product model, it was creating an issue, and now it is connected to the product.template created different files for the wizard line for better separation of code and ease of understanding. The issue fixed related to the field mismatch of the name issue is fixed now.
Changed the name of the variable as per naming convention in odoo.
Created models for Budget and Budget Line. Created wizard (transient model, views, and action) for adding new budgets based on a selected time period. Developed Kanban and form views for the budget model & list view for budget line. Updated actions to allow opening budget lines directly from Kanban boxes. Implemented views and menu items for the Budget and Budget Line models. Added restriction on add analtic line based on users selected preferece Inherited list view of account analytic line to make it editable and creatable Added action for open analytical lines on click on view button. Developed graph and pivot views for budget. Added constraints on write, create form view of budget , analytic line and budget line as per requirement. Updated float to monatry field for shwoing currency.
Added code analytic account line and that reference module and did code for budget review options in the menu now it's able to create duplicate and archived the old budget. Added view for analytic view changed the code structure files and moved code of graphs in the budget line module.
Changed code related to graph, pivot, and Gantt chart view also added code related to that in a Python file.
removed one account analytic file. the view was not necessary.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Training